<?php
/**
 * Copyright © 2013-2017 Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */

// @codingStandardsIgnoreFile

?>

<?php
/** @var $block \Magento\Theme\Block\Adminhtml\Wysiwyg\Files\Content\Files */
?>

<?php if ($block->getFilesCount() > 0): ?>
    <?php foreach ($block->getFiles() as $file): ?>
        <div class="filecnt file-font" id="<?php /* @escapeNotVerified */ echo $file['id'] ?>">
            <p class="nm">
                <?php /* @escapeNotVerified */ echo $file['text'] ?>
                <?php if (isset($file['thumbnailParams'])): ?>
                    <img src="<?php /* @escapeNotVerified */ echo $block->getUrl('*/*/previewImage', $file['thumbnailParams']) ?>">
                <?php endif; ?>
            </p>
        </div>
    <?php endforeach; ?>
<?php else: ?>
    <?php /* @escapeNotVerified */ echo __('We found no files.') ?>
<?php endif; ?>
